package com.milo.springboot.eventListener;

import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Component
public class Logout2Listener {


    @EventListener
    public void event(LogoutEvent event){
        System.out.println("Logout2Listener 退出登录：" + event.getClass().getName());
    }
}
